// �좎럩伊숋옙恝�숋옙�깆굲�좎럩�울옙類㏃삕�ル∥�뺟춯節뗣�筌ｋ뿰�숋옙占쏀떀 占쎌쥙猷욑옙�뗭삕�용낌�뺝뜝�밸뙕筌롡뫚�먨뜝�꾨궙�댐옙trim(�좎럩伊숂뙴�묒삕占쎌슜�삣뜝�뚮듌占쏙옙
String.prototype.trim = function() {
		var TRIM_PATTERN = /(^\s*)|(\s*$)/g;
		return this.replace(TRIM_PATTERN, "");
};

// E-Mail �좎럥�뺧옙�숈삕占쎄낯�쒙옙醫묒삕
function isValidEmail(email) {
	var format = /^((\w|[\-\.])+)@((\w|[\-\.])+)\.([A-Za-z]+)$/;
    if (email.search(format) != -1)
        return true; //�좎럩伊숋옙��숁틦�뉖뼀占쎌쥙�⑵짆�곗삕占쎌슜�삣뜝�뚮닑筌띾낑�쇿뜝�숈삕�ル∥�η뵓寃몃뙔占쎌눨�앭뜝占�  return false;
};

// �좎럩伊숋옙�듭쭍熬곻옙�삼옙醫롫쑕占쎌빢�숃쥈�몄날�좎럥理볩옙占쏀맪筌먯빖�삼옙占�
     // UTF-8 占쎌쥙�∽옙��쇿뜝�ш텣占쎌쥙�귛ㅇ諛⑷국�좎럩苑쬍00占쎌쥙�ο옙占쎌삕占쎄퍓鍮앾옙醫뤿＂7A3 �좎럥�덄뙴�띕쐻占쎌늿�뺧옙�レ탳�좎룞�숅넫濡レ몧�곸궛瑗덌옙�얠삕熬곥굥占�
function isValidKorean(data){
	var format = /^[\uac00-\ud7a3]*$/g;
    if (data.search(format) != -1)
        return true; //�좎럩伊숋옙��숁틦�뉖뼀占쎌쥙�⑵짆�곗삕占쎌슜�삣뜝�뚮닑筌띾낑�쇿뜝�숈삕�ル∥�η뵓寃몃뙔占쎌눨�앭뜝占�  return false;
};

// �좎럩伊숋옙�논렭占쎌슧留わ옙醫롫쓡占쏙옙�쇠퉪占쎄뎡�낉옙援�옙占�
function isValidDate(year, month, day) {
	var days = new Array (31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);

     if(year%4==0 && year%100 !=0 || year%400==0)
       days[1]=29;
     else
       days[1]=28;

     if(month < 1 || month > 12)
       return false;

     if(day > days[month-1] || day < 1)
       return false;
     return true;
};